class Responsavel < ActiveRecord::Base
    set_table_name "responsavel"
    
    has_many :alunos_pedagogicos,
             :class_name => 'Aluno',
             :foreign_key => 'responsavel_pedagogico_id'

    has_many :alunos_financeiros,
             :class_name => 'Aluno',
             :foreign_key => 'responsavel_financeiro_id'

    has_many :filhos_pai,
             :class_name => 'Aluno',
             :foreign_key => 'responsavel_pai_id'

    has_many :filhos_mae,
             :class_name => 'Aluno',
             :foreign_key => 'responsavel_mae_id'
                 
end
